package com.chianghao.rockframewrok.core.db.manage;

import java.util.List;

import com.chianghao.rockframewrok.core.db.model.Column;
import com.chianghao.rockframewrok.core.db.model.Table;


public interface DataMeta {

	
	public String createTableDDL(Table table);
	
	public List<String> alterTableDDL(Table table);
	
	public String getColumnSql(Column column);
	
	public String getAlterColumnCommands(String tableName,Column oldAttribute,Column column,List<String> commands);
	
	public String getAddColumnCommands(String tableName,Column column,List<String> commands);
	
	public String getDelColumnCommands(String tableName,String columnName);
}
